/*
 * Copyright (c) 2020, QUANRONG TECHNOLOGY LTD. All rights reserved.
 */
package com.crm.CLdriving.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Auther: Elvis
 * @Date: 2020-06-08 10:21
 * @Description: redis配置属性类
 */
@ConfigurationProperties(prefix = "myjedis.redis.config")
@Component
@Data
public class RedisConfigProperties {

    private String nodes;

    private String masterName;

    private String password;

    private int database;

    private String maxTotal;

    private String maxIdle;

    private String minIdle;

    private String timeout;

    private String maxWaitMillis;

    //以下单机redis配置信息
    private String mode;

    private String host;

    private String port;

    private String pass;
}


